sum = 0
for i in range(1,101):
        if i%7 ==0:
                continue
        sum = sum + i
print(sum)
